package Twitter
{
	import mx.collections.ArrayCollection;
	
	import mx.controls.Alert;
	
	public class db_application_prefs
	{
		import mx.core.Application;
		
		public function db_application_prefs()
		{
		}
		
		public function db_keywords():void
		{
			
			
			Application.application.t_db.getKeywords(Application.application._username);
		
			
			Application.application.arr_keywords = new ArrayCollection();
			
			Application.application.listKeywords = new ArrayCollection();
			
			for each (var o:user_stored_keywords in Application.application.t_db._array_db_keywords)
			{
				Application.application.listKeywords.addItem(o);
				
				Application.application.arr_keywords.addItem(o.keyword);
				
				
				
			}  
			
			//Alert.show("db_keywords - called" +Application.application.arr_keywords.length);
			
			
		}

	}
}